package org.springframework.core.annotation;

import java.lang.annotation.Annotation;

public interface MergedAnnotationSelector<A extends Annotation> {
    default boolean isBestCandidate(MergedAnnotation<A> mergedAnnotation) {
        return false;
    }

    MergedAnnotation<A> select(MergedAnnotation<A> existing,
                               MergedAnnotation<A> candidate);
}
